package ScoreData;

import java.rmi.RemoteException;

import po.ScoreCellPO;
import po.ScorePO;

public class MockScoreDataController implements ScoreDataService
{

	@Override
	public boolean insertCell(ScoreCellPO aim)
	{
		return true;
	}

	@Override
	public ScorePO getOfStudent(String studentID)
	{
		ScorePO result = new ScorePO();
		ScoreCellPO scv = new ScoreCellPO();
		scv.lessonID="test";
		scv.score="0";
		scv.studentID="test001";
		result.list.add(scv);
		return result;
	}

	@Override
	public boolean set(ScorePO aim)
	{
		return true;
	}

	@Override
	public ScorePO getOfTeacher(String LessonID)
	{
		ScorePO result = new ScorePO();
		ScoreCellPO scv = new ScoreCellPO();
		scv.lessonID="test";
		scv.score="0";
		scv.studentID="test001";
		result.list.add(scv);
		return result;
	}

	@Override
	public boolean delCell(ScoreCellPO aim)
	{
		return true;
	}

}
